package cate.game.train.equip.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.equip.Equip;
import easy.java.dev.note.NoteField;

import java.util.HashMap;
import java.util.Map;

@ClientMsg(title = "英雄穿装备の 返回")
public class HeroEquipOnResp implements MsgOutput {

    @NoteField(value = "英雄ID", detail = "要给哪一个英雄穿装备")
    public String heroUid;

    @NoteField(value = "本次穿上的装备们", detail = "Map<部位:Byte, 装备信息>")
    public Map<Byte, Equip> equipMap = new HashMap<>();

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.HERO_EQUIP_ON_RESP;
    }
}
